package site.teamo.biu.net.common.web.controller.model.passport;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author haocongshun
 * @date 2023/03/06 14:54:14
 */
@Data
@Accessors(chain = true)
public class ChangePasswordRequest {
    @NotBlank(message = "密码不能为空")
    private String oldPassword;
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
